package com.example.springboot.pojo;


import lombok.Data;
import lombok.Getter;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class Orders {
    private Integer id;
    private Integer cartId;
    private String ordersNumber;
    private Integer goodsId;
    private String goodsPhoto;
    private String goodsName;
    private Integer userId;
    private String username;
    private String userPhone;
    private String userAddress;
    private Integer goodsNumber;
    private LocalDateTime createTime;
    private Double price;
    @Getter
    private List<Cart> cartData;
}
